Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement mge_get_video_size #2890

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Aurumaker72
Copy link
Contributor

Required for capture on legacy Mupen64, as it needs a way to request the video size in a thread and wgl context-agnostic way.

Required for capture on legacy Mupen64, as it needs a way to request the video size in a thread and wgl context-agnostic way
height - Pointer receiving the video height. Can be null.
Output: none
******************************************************************/
EXPORT void CALL mge_get_video_size(int32_t* width, int32_t* height);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it essential to use int32_t? Why not just int?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not essential, but since x64 support for legacy Mupen64 is planned, the Zilmar spec headers have had their types indiscriminately changed to the C++ constant-width ones to avoid miscellaneous annoyances during porting of plugins.

This specific change is free to be reverted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants